package tt.dz.tcp.socket.timeoff;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import tt.dz.entity.exception.BizException;

/**
 * Created by luoyp on 2016/6/13.
 * 充电指令发送超时handler
 */
public abstract class ChargeMsgTimeOffHandler extends AbstractMsgTimeOffHandler
{
	private Log log = LogFactory.getLog(ChargeMsgTimeOffHandler.class);

	protected abstract String getChargeNo();

	@Override
	public void handleTimeOff() throws BizException
	{
		String chargeNo = getChargeNo();
		log.info(chargeNo);
	}
}
